package com.fayakeji.ucpaas;

import java.util.Objects;

/**
 * @author <a href="mailto:wangruihuano@gmail.com">王瑞环</a>
 * @since 2019-06-13 21:52
 */
public class UcpassSmsSingleResponse {

    private String code;

    private String msg;

    private String smsid;

    private String mobile;

    private String uid;

    private String count;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSmsid() {
        return smsid;
    }

    public void setSmsid(String smsid) {
        this.smsid = smsid;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UcpassSmsSingleResponse response = (UcpassSmsSingleResponse) o;
        return Objects.equals(code, response.code) &&
                Objects.equals(msg, response.msg) &&
                Objects.equals(smsid, response.smsid) &&
                Objects.equals(mobile, response.mobile) &&
                Objects.equals(uid, response.uid) &&
                Objects.equals(count, response.count);
    }

    @Override
    public int hashCode() {
        return Objects.hash(code, msg, smsid, mobile, uid, count);
    }

    @Override
    public String toString() {
        return "UcpassSmsSingleResponse{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", smsid='" + smsid + '\'' +
                ", mobile='" + mobile + '\'' +
                ", uid='" + uid + '\'' +
                ", count='" + count + '\'' +
                '}';
    }
}
